#include <iostream>
using namespace std;

int main()
{
    //逻辑运算符 - 或||
    int a = 10;
    int b = 20;

    //同假为假，其余为真
    cout << (a || b) << endl;

    cout << (!a || !b) << endl;

    cout << (a || !b) << endl;

    return 0;
}